$fontSize_20: 1.1vw;
$fontSize_18: 1vw;
$fontSize_16: 0.9vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.2vw;
$fontSize_36: 1.8vw;
$f: 19.2;

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: all 600ms;
  padding: 1.2vw 0;

  .box {
    width: 92vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .logo {
      position: relative;

      img {
        width: 260/$f+vw;
        transition: all 600ms;
      }

      img:nth-child(2) {
        opacity: 0;
        position: absolute;
        left: 0;
        top: 0;
      }
    }

    .r {
      .d1 {
        display: flex;
        align-items: center;
        justify-content: flex-end;

        .search {
          cursor: pointer;
          position: relative;

          svg {
            display: block;

            path {
              fill: #fff;
            }
          }

          .sr {
            position: absolute;
            top: 0;
            left: calc(-100% - 200px);
            display: none;
            input {
              width: 200px;
              font-size: 14/$f+vw;
              padding: 8px 10px;
              outline: none;
              border: none;
              border-radius: 5px;
              box-shadow: 0 0 10px rgba(0, 0, 0, .1);
            }
          }
        }

        .line {
          width: 1px;
          height: 12px;
          background-color: white;
          margin: 0 10px;
        }

        .lan {
          cursor: pointer;

          .cn {
            display: flex;
            align-items: center;

            p {
              color: white;
              margin-right: 6px;
            }

            svg {
              display: block;

              path {
                fill: #fff;
              }
            }
          }
        }
      }

      .d2 {
        display: flex;
        margin-top: 1vw;

        a {
          color: #fff;
          font-size: $fontSize_18;
          margin-left: 2vw;
          transition: all 600ms;

          &:hover {
            color: #79C536;
          }
        }

        .active {
          color: #79C536;
        }
      }
    }
  }
}

.hasBg,
.hasBg2 {
  background-color: #fff;
  border-bottom: 1px solid #ECEDEE;
  ;

  .box {
    .logo {
      img:nth-child(1) {
        opacity: 0;
      }

      img:nth-child(2) {
        opacity: 1;
      }
    }

    .r {
      .d1 {
        .search {
          svg {
            path {
              fill: #264285;
            }
          }
        }

        .line {
          background-color: #264285;
        }

        .lan {
          .cn {
            p {
              color: #264285;
            }

            svg {
              path {
                fill: #264285;
              }
            }
          }
        }
      }

      .d2 {
        a {
          color: #264285;
        }
      }
    }
  }
}


.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #fff;

    .logo {
      margin-left: 20px;

      img {
        width: 140px;
        object-fit: contain;
      }
    }
    .r{
      display: flex;
      align-items: center;
      margin-right: 20px;
      a{
        display: block;
        color:#000;
      }
      .search {
        cursor: pointer;
        position: relative;
        margin: 0 10px;
        svg {
          display: block;

          path {
            fill: #000;
          }
        }

        .sr {
          position: absolute;
          top: -2px;
          left: calc(-100% - 200px);
          display: none;
          input {
            width: 200px;
            font-size: 14px;
            padding: 8px 10px;
            outline: none;
            border: none;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, .1);
          }
        }
      }
      .navbox {
        .line {
          width: 30px;
          height: 1px;
          background-color: #000;
          margin: 8px 0;
          -webkit-transition: all .6s;
          transition: all .6s;
        }
      }
  
      .activeBox {
        .line:nth-child(1) {
          transform: rotate(45deg) translateY(12px);
        }
  
        .line:nth-child(2) {
          transform: translateX(30px);
          opacity: 0;
        }
  
        .line:nth-child(3) {
          transform: rotate(-45deg) translateY(-12px);
        }
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        width: 100%;
        display: block;
      }

      img {
        width: 40px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}


.foot {
  background: url(../images/fbg.png) no-repeat;
  background-size: cover;
  position: relative;

  .rbtns {
    position: absolute;
    right: 2%;
    top: 15%;

    a {
      background: linear-gradient(280deg, #92D341 -27.68%, #4FAD24 104.15%);
      width: 75/$f+vw;
      height: 75/$f+vw;
      border-radius: 50%;
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      margin-bottom: 1vw;
      cursor: pointer;

      p {
        font-size: 12/$f+vw;
        color: white;
        margin-top: 2px;
      }
    }
  }

  .dom1 {
    width: 88vw;
    margin: 0 auto;
    padding: 4vw 0 8vw 0;
    display: flex;
    justify-content: space-between;

    .l {
      .logo {
        img {
          width: 170/$f+vw;
        }
      }

      .info {
        margin-top: 2vw;

        .i {
          display: flex;
          align-items: center;
          margin-bottom: 10px;
          // display: none;
          .icon {
            width: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
          }

          p {
            color: rgba(51, 51, 51, 0.8);
            font-size: 14/$f+vw;
          }
        }

        .btns {
          display: flex;
          margin-top: 1vw;
          display: none;
          a {
            border-radius: 100px;
            border: 1px solid #36AC2C;
            padding: 10px 20px;
            font-size: 14/$f+vw;
            color: #36AC2C;
            margin-right: 1vw;
            transition: all 600ms;

            &:hover {
              background-color: #36AC2C;
              color: white;
            }
          }
        }

        .f {
          margin-top: 2vw;
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 88%;
        }
      }
    }

    .alink {
      a {
        display: block;
        color: rgba(51, 51, 51, 0.8);
        font-size: $fontSize_20;
        font-weight: 700;
        margin-bottom: 2vw;
        transition: all 600ms;

        &:hover {
          color: #36AC2C;
        }
      }
    }

    .blink {
      p {
        color: rgba(51, 51, 51, 0.8);
        font-size: $fontSize_20;
        font-weight: 700;
      }

      .links {
        margin-top: 1.5vw;

        a {
          display: block;
          color: rgba(51, 51, 51, 0.6);
          font-size: $fontSize_16;
          margin-bottom: .8vw;
          transition: all 600ms;

          &:hover {
            color: #36AC2C;
          }
        }
      }
    }

    .clink {
      width: 25vw;
      text-align: center;
      margin: 0 5vw 0 10vw;

      .item {
        margin-bottom: 5vw;

        p {
          color: rgba(51, 51, 51, 0.8);
          font-size: $fontSize_20;
          font-weight: 700;
        }

        .icons {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-top: 1vw;
        }
      }
    }
  }

  .dom2 {
    background: #000;
    padding: 1vw 8vw;
    display: flex;
    justify-content: space-between;

    .l {
      color: #DCDDDD;
      font-size: 14/$f+vw;

      a {
        color: #DCDDDD;
        font-size: 14/$f+vw;
      }
    }

    .r {
      display: flex;
      align-items: center;

      a {
        color: #DCDDDD;
        font-size: 14/$f+vw;
      }

      span {
        color: #DCDDDD;
        font-size: 14/$f+vw;
      }
    }
  }
}


@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }

  .foot {
    .rbtns {
      top: 30px;

      a {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;

        img {
          width: 24px;
        }

        p {
          font-size: 12px;
        }
      }
    }

    .dom1 {
      width: 90%;
      flex-direction: column;
      padding: 20px 0;

      .l {
        .logo {
          img {
            width: 140px;
          }
        }

        .info {
          margin-top: 20px;

          .i {
            p {
              font-size: 14px;
            }
          }

          .btns {
            margin-top: 15px;

            a {
              font-size: 14px;
              margin-right: 15px;
            }
          }

          .f {
            width: 64%;
            margin-top: 20px;
          }
        }
      }

      .alink,
      .blink {
        display: none;
      }

      .clink {
        margin: 30px 0 0 0;
        width: 100%;
        // display: none;

        .item {
          p {
            font-size: 18px;
          }
        }
      }
    }

    .dom2 {
      flex-direction: column;
      padding: 10px 5%;
      line-height: 1.8;

      .l {
        font-size: 10px;

        a {
          font-size: 10px;
        }
      }

      .r {
        flex-wrap: wrap;

        a,
        span {
          font-size: 10px;
        }
      }
    }
  }
}